package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.ProcessTacking;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ProcessTackingMapper {
    int deleteByPrimaryKey(Long processId);

    int insert(ProcessTacking record);

    int insertSelective(ProcessTacking record);

    ProcessTacking selectByPrimaryKey(Long processId);

    int updateByPrimaryKeySelective(ProcessTacking record);

    int updateByPrimaryKey(ProcessTacking record);

    int updateBatch(List<ProcessTacking> list);

    int batchInsert(@Param("list") List<ProcessTacking> list);

    List<ProcessTacking> selectAll();

    List<ProcessTacking> selectBytrackIdAndType(@Param("trackId") Long trackId, @Param("trackType") Integer trackType);

    int deleteBytrackId(Long trackId);
}